package tech.dx.springdb.service;

import tech.dx.springdb.entity.CourseAdviceType;

import java.util.Optional;

/**
 * @ClassName CourseAdviceTypeService
 * @Description TODO
 * @Author daoxuan
 * @Date 2019/4/1 11:04
 * @Version 1.0
 */
public interface CourseAdviceTypeService {
    Optional<CourseAdviceType> getById(long id);

    CourseAdviceType add(CourseAdviceType ClassType);

    CourseAdviceType update(CourseAdviceType ClassType);

    void del(long id);

    boolean isExitById(long id);
}
